import {createRouter, createWebHistory} from 'vue-router';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('@/views/Home.vue')
    },
    {
      path: '/navigation-after/:params*',
      component: () => import('@/views/NavigationAfter.vue')
    },
    {
      path: '/navigation-before/:params*',
      component: () => import('@/views/NavigationBefore.vue')
    },
  ]
});

export default router;
